package com.idp.web.test.entity;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.idp.common.base.BaseEntity;

/**
 * 
 * 安全库存预警实体类.
 * 
 * <pre>
 * 	历史记录：
 * 	2017-06-06 Amber
 * 	新建文件
 * </pre>
 * 
 * @author 
 * <pre>
 * SD
 * 	Amber
 * PG
 *	Amber
 * UT
 *
 * MA
 * </pre>
 * @version $Rev$
 *
 * <p/> $Id$
 *
 */
public class SafeWarning  implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**id*/
	private Integer id;
	/**warningMax*/
	private Integer warningMax;
	/**warningMin*/
	private Integer warningMin;
	/**reasonableStock*/
	private Integer reasonableStock;
	/**description*/
	private String description;
	/**stockId*/
	private Integer stockId;
	
	private Stock stock;
	
	private String isNormal;
	
	
	/**
	 *方法: 取得Integer
	 *@return: Integer  id
	 */
	public Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置Integer
	 *@param: Integer  id
	 */
	public void setId(Integer id){
		this.id = id;
	}
	
	/**
	 *方法: 取得Integer
	 *@return: Integer  warningMax
	 */
	public Integer getWarningMax(){
		return this.warningMax;
	}

	/**
	 *方法: 设置Integer
	 *@param: Integer  warningMax
	 */
	public void setWarningMax(Integer warningMax){
		this.warningMax = warningMax;
	}
	
	/**
	 *方法: 取得Integer
	 *@return: Integer  warningMin
	 */
	public Integer getWarningMin(){
		return this.warningMin;
	}

	/**
	 *方法: 设置Integer
	 *@param: Integer  warningMin
	 */
	public void setWarningMin(Integer warningMin){
		this.warningMin = warningMin;
	}
	
	/**
	 *方法: 取得Integer
	 *@return: Integer  reasonableStock
	 */
	public Integer getReasonableStock(){
		return this.reasonableStock;
	}

	/**
	 *方法: 设置Integer
	 *@param: Integer  reasonableStock
	 */
	public void setReasonableStock(Integer reasonableStock){
		this.reasonableStock = reasonableStock;
	}
	
	/**
	 *方法: 取得String
	 *@return: String  description
	 */
	public String getDescription(){
		return this.description;
	}

	/**
	 *方法: 设置String
	 *@param: String  description
	 */
	public void setDescription(String description){
		this.description = description;
	}
	
	/**
	 *方法: 取得Integer
	 *@return: Integer  stockId
	 */
	public Integer getStockId(){
		return this.stockId;
	}

	/**
	 *方法: 设置Integer
	 *@param: Integer  stockId
	 */
	public void setStockId(Integer stockId){
		this.stockId = stockId;
	}

	public Stock getStock() {
		return stock;
	}

	public void setStock(Stock stock) {
		this.stock = stock;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "SafeWarning [id=" + id + ", warningMax=" + warningMax + ", warningMin=" + warningMin
				+ ", reasonableStock=" + reasonableStock + ", description=" + description + ", stockId=" + stockId
				+ ", stock=" + stock + "]";
	}

	public String getIsNormal() {
		return isNormal;
	}

	public void setIsNormal(String isNormal) {
		this.isNormal = isNormal;
	}
	
	
}
